package view {
	
	/**
	 * @author Alejandro
	 */
	
	import flash.display.Sprite;
	import flash.events.Event;
	import view.elements.AppContainerTemplate01;
	
	public class Main extends Sprite{
						
		public function Main():void{
			if (stage) init();
			else addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(e:Event = null):void{
			removeEventListener(Event.ADDED_TO_STAGE, init);	
			addChild(new AppContainerTemplate01());
		}
	}
	
	/*TO-DO
	 * 
	 * Contemplar excepcion de audio inexistente.
	 */
}